/* 模块导入 */
const { sum } = require('./A');

let name = "B模块";
const average = function average(...params) {
    let total = sum(...params);
    return (total / params.length).toFixed(2);
};

/* 模块导出 */
module.exports = average;
